package com.jch.dm10_master_slave.reusable;

/**
 * 表示子任务处理失败的异常
 */
public class SubTaskFailureException extends Exception {

    // 对处理失败的子任务进行重试所需的信息
    public final RetryInfo retryInfo;

    public SubTaskFailureException(RetryInfo retryInfo,Throwable cause) {
        super(cause);
        this.retryInfo = retryInfo;
    }
}
